package com.analysis.apresunday.service;

import com.analysis.apresunday.entity.po.User;
import com.analysis.apresunday.entity.dto.UserLoginDTO;
import com.analysis.apresunday.entity.dto.UserRegisterDTO;
import com.analysis.apresunday.entity.dto.UserUpdateDTO;
import com.analysis.apresunday.entity.vo.UserInfoVo;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpServletRequest;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author snake_skin
 * @since 2024-01-23
 */
public interface UserService extends IService<User> {

    void register(UserRegisterDTO userRegisterDto);

    String login(UserLoginDTO userLoginDTO);

    UserInfoVo getLoginInfoByToken(HttpServletRequest request);

    void updateUser(UserUpdateDTO userUpdateDto);
}
